package com.hs.jhzd.entity;

import javax.persistence.*;
import java.sql.Date;
import java.util.Objects;

/**
 * @author guoxc
 * @date 2019/03/01
 **/
@Entity
@Table(name = "jh_scl90dtjlb")
public class JhScl90DtjlbEntity {
    @Id
    private String zybh;
    private String rybh;
    private String fzybh;
    private String tmid;
    private String da;
    private String yz;
    private String dtsj;
    private String pgmj;
    private String fz;
    private String kssj;
    private Date sjc;
    private String jsbh;
    private String jsmc;

    @Basic
    @Column(name = "ZYBH")
    public String getZybh() {
        return zybh;
    }

    public void setZybh(String zybh) {
        this.zybh = zybh;
    }

    @Basic
    @Column(name = "RYBH")
    public String getRybh() {
        return rybh;
    }

    public void setRybh(String rybh) {
        this.rybh = rybh;
    }

    @Basic
    @Column(name = "FZYBH")
    public String getFzybh() {
        return fzybh;
    }

    public void setFzybh(String fzybh) {
        this.fzybh = fzybh;
    }

    @Basic
    @Column(name = "TMID")
    public String getTmid() {
        return tmid;
    }

    public void setTmid(String tmid) {
        this.tmid = tmid;
    }

    @Basic
    @Column(name = "DA")
    public String getDa() {
        return da;
    }

    public void setDa(String da) {
        this.da = da;
    }

    @Basic
    @Column(name = "YZ")
    public String getYz() {
        return yz;
    }

    public void setYz(String yz) {
        this.yz = yz;
    }

    @Basic
    @Column(name = "DTSJ")
    public String getDtsj() {
        return dtsj;
    }

    public void setDtsj(String dtsj) {
        this.dtsj = dtsj;
    }

    @Basic
    @Column(name = "PGMJ")
    public String getPgmj() {
        return pgmj;
    }

    public void setPgmj(String pgmj) {
        this.pgmj = pgmj;
    }

    @Basic
    @Column(name = "FZ")
    public String getFz() {
        return fz;
    }

    public void setFz(String fz) {
        this.fz = fz;
    }

    @Basic
    @Column(name = "KSSJ")
    public String getKssj() {
        return kssj;
    }

    public void setKssj(String kssj) {
        this.kssj = kssj;
    }

    @Basic
    @Column(name = "SJC")
    public Date getSjc() {
        return sjc;
    }

    public void setSjc(Date sjc) {
        this.sjc = sjc;
    }

    @Basic
    @Column(name = "JSBH")
    public String getJsbh() {
        return jsbh;
    }

    public void setJsbh(String jsbh) {
        this.jsbh = jsbh;
    }

    @Basic
    @Column(name = "JSMC")
    public String getJsmc() {
        return jsmc;
    }

    public void setJsmc(String jsmc) {
        this.jsmc = jsmc;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        JhScl90DtjlbEntity that = (JhScl90DtjlbEntity) o;
        return Objects.equals(zybh, that.zybh) &&
                Objects.equals(rybh, that.rybh) &&
                Objects.equals(fzybh, that.fzybh) &&
                Objects.equals(tmid, that.tmid) &&
                Objects.equals(da, that.da) &&
                Objects.equals(yz, that.yz) &&
                Objects.equals(dtsj, that.dtsj) &&
                Objects.equals(pgmj, that.pgmj) &&
                Objects.equals(fz, that.fz) &&
                Objects.equals(kssj, that.kssj) &&
                Objects.equals(sjc, that.sjc) &&
                Objects.equals(jsbh, that.jsbh) &&
                Objects.equals(jsmc, that.jsmc);
    }

    @Override
    public int hashCode() {
        return Objects.hash(zybh, rybh, fzybh, tmid, da, yz, dtsj, pgmj, fz, kssj, sjc, jsbh, jsmc);
    }
}
